package com.cch.cooperation.api.zone.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@ApiModel("空间修改参数")
@Data
public class ZoneEditDTO {

    @ApiModelProperty("id, 修改时不能为空")
    private String id;

    @ApiModelProperty(value = "名称", required = true)
    @NotEmpty(message = "名称不能为空")
    private String name;

    @ApiModelProperty(value = "修改人id", hidden = true)
    @NotEmpty(message = "修改人id不能为空")
    private String updateUserId;

}
